<template>
    <div>
        <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>商品管理</el-breadcrumb-item>
        <el-breadcrumb-item>添加商品</el-breadcrumb-item>
        </el-breadcrumb>

        <!-- 卡片视图区 -->
        <el-card>
            <!-- 提示区 -->
            <el-alert title="添加商品信息" type="info" center show-icon :closable="false">
        </el-alert>
        <product-Detail :proInfo="addFrom"></product-Detail>
        </el-card>
    </div>
</template>

<script>
import _ from "lodash"
import productDetail from "./productDetail"
export default {
    data(){
        return {
             addFrom : {
                "name" : "",
                "price" : 0,
                "size" : "",
                "Piece" : 0,
                "prodetail":""
            }
        }
    },
    created (){

    },
    components:{
        'product-Detail':productDetail
    },
    computed: {
    },
    methods :{
    }
}
</script>

<style lang="less" scope>

</style>